from django.db import models

# Create your models here.

class WechatUser(models.Model):
    create_time = models.DateTimeField(auto_now_add=True)
    update_time = models.DateTimeField(auto_now=True)
    nickname = models.CharField(max_length=30)
    header = models.ImageField(max_length=50)
    city = models.CharField(max_length=30)

    def __str__(self):
        return self.nickname
